home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_01_04
/
1n04026a
< prev
next >
Wrap
Text File
|
1990-03-27
|
533b
|
26 lines
/* LISTING 1 */
/* Header for error module */
#define MIN_ERR_NUMBER 500
#define ERR_INVALID_ERCODE 500
#define ERR_GENERAL 501
#define ERR_READ_HEADER 502
#define ERR_OPEN_INDEX 503
#define ERR_DELETE_RECORD 504
#define ERR_FINISH_CMD 505
#define MAX_ERR_NUMBER 505
typedef char *PSTR;
typedef int BOOLEAN;
#define TRUE 1
#define FALSE 0
void err_begin(void);
void err_clear(void);
void err_disp(void);
void err_end(void);
void err_push(int, PSTR);
BOOLEAN err_state(void);